package com.flowplan.project.dto;

import com.flowplan.entity.enums.Priority;
import com.flowplan.entity.enums.ProjectStatus;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 项目更新请求DTO
 * 
 * @author FlowPlan Team
 */
@Data
public class ProjectUpdateRequest {
    
    /**
     * 项目名称
     */
    @Size(max = 200, message = "项目名称长度不能超过200个字符")
    private String projectName;
    
    /**
     * 项目描述
     */
    @Size(max = 5000, message = "项目描述长度不能超过5000个字符")
    private String description;
    
    /**
     * 项目状态
     */
    private ProjectStatus status;
    
    /**
     * 优先级
     */
    private Priority priority;
    
    /**
     * 截止时间
     */
    private LocalDateTime deadline;
}